package com.jic.order.api;

import com.jic.common.base.vo.PageResult;
import com.jic.common.base.vo.RestResult;
import com.jic.order.manage.request.OrderDistributionMemberRequest;
import com.jic.order.manage.response.OrderDistributionMembertResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * description: 订单提供给分销服务内部调用类
 *
 * @author: jackHe
 * @time: 2020/8/8 14:49
 */
@FeignClient(name = "jic-order", path = "/feign/distribution")
public interface DistributionApi {

	/**
	 * description: 分销员列表
	 *
	 * @author: jackHe
	 * @time: 2020/8/8 14
	 */
	@PostMapping("/queryOrderDistributionListPage")
	RestResult<PageResult<OrderDistributionMembertResponse>> queryOrderDistributionListPage(@RequestBody OrderDistributionMemberRequest request);

}
